﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TESTCOM;

namespace Ev_MapCom
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        /// <summary>
        ///  返回到首页
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panel3_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        /// <summary>
        /// 几内亚
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panel1_Click(object sender, EventArgs e)
        {
            //几内亚
            //调用串口
            toolsCOM.SendCmd("A3535");
        }

        /// <summary>
        /// 埃塞俄比亚
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panel2_Click(object sender, EventArgs e)
        {
            //埃塞俄比亚
            //调用串口
            toolsCOM.SendCmd("A3636");
        }

        /// <summary>
        /// 返回
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panel4_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
